home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / file_mgt / gledit / gledit.hst < prev    next >
Encoding:
Text File  |  1995-04-16  |  16.3 KB  |  357 lines

  1. GLEDIT Version 2.1 Modifications:
  2.  
  3. Please submit your ideas.  If you have problems that I do not encounter, the
  4. only way to get them fixed is to let me know about them.
  5.  
  6.  
  7. 1.  Some uploaded descriptions of GLEDIT listed the version number as 1.0
  8.     when, in fact, that version was 2.0, as reflected in the help screen.
  9.  
  10. 2.  It has been requested that GLEDIT provide a way of making the changes
  11.     without prompting so that the program can be executed unattended.
  12.  
  13.     Although this could be very dangerous, I have provided an option to 
  14.     accomplish this.  If you use it, please be very careful that the
  15.     command line is entered correctly and that only the files you want
  16.     modified will in fact be modified.  The only way to stop the program
  17.     once it starts will be with CTRL-BREAK. Even then, a file could end
  18.     up damaged, though not likely.  Make sure you have BREAK=ON in your
  19.     CONFIG.SYS file.
  20.  
  21.     I have added a /Y switch which automatically replies Y to all prompts.
  22.  
  23. 3.  So that a quote (") can exist in the search string or the replace string,
  24.     I accept \q (not \Q) in place of the quote in within the string.
  25.  
  26. 4.  Due to popular demand, I eliminated the wait time for the reminder menu.
  27.  
  28.  
  29. Version 2.1a:
  30.  
  31.     Version 2.1a is identical to version 2.1 except fo the registration 
  32. reminder screen.  The reminder screen and documentation have been updated to
  33. instruct users on how to register GLEDIT via CompuServe's SWREG section.
  34.     
  35.     The price has been increased to $12 to help recover more of the cost of
  36. registering users.  International mail and CIS registration make it hard to
  37. profit on a $10 fee. Parity Solutions still aims to keep the quality up and
  38. the price as low as possible.
  39.  
  40.     
  41. GLEDIT version 2.2 modifications:
  42.  
  43. 1.  Added a /R switch which will allow GLEDIT to recurse through all 
  44.     subdirectories below the current or specified subdirectory.
  45.  
  46. 2.  Added a [TEST MODE] indicator to the prompt when you are executing
  47.     with the /T switch on.  Previous releases also automatically invoked the
  48.     /Y switch when in test mode.  This no longer happens.
  49.  
  50. 3.  Due to the fact that Borland C++ removes the quotes on a command line
  51.     parameter before passing it to me, I interpreted an replace string that
  52.     started with a forward slash as a switch.  I now check for the entire
  53.     switch string (i.e. "/N") rather than assuming anything starting with
  54.     a slash was a switch.  This still prevents you from being a ble to use
  55.     a valid switch as your replace string.  You can use a valid switch
  56.     within a replace string as long as it is preceeded or follwed by at
  57.     least one other character or space.
  58.  
  59.  
  60. GLEDIT versions 2.1 thru 2.2 were distributed under the name GEDIT.  The
  61. GLEDIT name officially was added with release 2.3.
  62.  
  63. Modifications for version 2.3 of GLEDIT:
  64.  
  65.   1. Added the /D switch to allow a string to be deleted instead of being
  66.      replaced with another string.
  67.  
  68.   2. Changed the program name from GEDIT.EXE to GLEDIT.EXE.  This was done
  69.      at the request of Public Brand Software who discovered another program
  70.      they distribute called GEDIT.  This will avoid possible confusion to
  71.      people who may own both products.
  72.  
  73.   3. Formerly you were given no option to terminate the search/edit function
  74.      other than to press CTRL-BREAK.  The "Press any key to continue..." 
  75.      message now reads "Press ESC to exit, any other key to continue...".
  76.      The functionality is obvious from the message.
  77.  
  78.   4. For ease of conversion for registered users of GEDIT, the GEDIT.SER
  79.      file is recognized as well as the GLEDIT.SER file.
  80.  
  81. Modifications for version 2.3a of GLEDIT:
  82.  
  83.   1. GLEDIT v2.3a is identical to version 2.3.  Only the documentation has
  84.      been updated.  The documentation erroneously instructed users to 
  85.      use product #753 on SWREG for registration.  The correct product ID is
  86.      754.
  87.  
  88. Modifications for version 2.4 of GLEDIT:
  89.  
  90. 1.  Added the ability to abort searching at any time by pressing the ESC
  91.     key, rather than having to use BREAK.
  92.  
  93. 2.  If the directory was specified in the search file specification, the 
  94.     current directory was searched rather than the specified directory.  
  95.     This has been fixed.
  96.  
  97. 3.  Due to user request, the following DOS ERRORLEVEL return codes are now
  98.     returned from GLEDIT:
  99.  
  100.     0   - One or more matches found.  Replaced or not replaced has no bearing.
  101.     1   - No matches found in any files searched.
  102.     2   - No files found matching the search file specification.
  103.     3   - Invalid path specified in serach file specification.
  104.     4   - Directory recursion error.  Please report to Parity Solutions.
  105.           Should never happen.
  106.     255 - User abort.  ESC key pressed.  Does not detect BREAK key.
  107.  
  108.  
  109. Modifications to GLEDIT version 2.5
  110.  
  111. 1.  Under certain conditions, an erroneous "Invalid path" error message
  112.     could appear.  Corrected.
  113.  
  114. 2.  Sometimes the same file was edited twice in a single pass. Corrected.
  115.  
  116. 3.  If you specified a root directory and filename (i.e. D:\*.TXT) as the
  117.     target filespec, sometimes GLEDIT reported that D:\ was an invalid path.
  118.     Also, if you specified recursion (/R), sometimes you would get a message
  119.     saying "Unable to return to D:".  This problem with root directories 
  120.     has been corrected.
  121.  
  122. 4.  Pressing the ESC key did not terminate execution if recursion (/R) was
  123.     specified.  Corrected.
  124.  
  125. 5.  Added the capability to terminate using the ESC key in response to the
  126.     "Replace with the following line? (Y/N)" prompt.
  127.  
  128. 6.  Instead of saying "n records replaced." after a test mode run, GLEDIT
  129.     now reports "n records would have been replaced".  A little less scary 
  130.     to the user.
  131.  
  132. 7.  Added escape sequences to allow substituion of another character for
  133.     certain control characters.
  134.  
  135. 8.  Modified slightly the screen output when /T and /Y are used.  Instead
  136.     of the replace prompt, a string is displayed saying what was changed
  137.     (/Y) or what would have been changed (/T).
  138.  
  139. 9.  We are moving.  Added new address to registration screen and documen-
  140.     tation.
  141.  
  142.  
  143. Modifications to GLEDIT version 2.6
  144.  
  145. 1.  Sometimes scroll mode was invoked when not requested.  Fixed.
  146.  
  147. 2.  Sometimes, when recursing directories, you could not exit from the search 
  148.     with the escape key.  Fixed.
  149.  
  150. 3.  Use of the /d switch instead of replacing with "" caused a lot of user
  151.     problems because they want to use "" to delete a matching string and do
  152.     not notice the function of the /d switch.  
  153.  
  154.     The problem was that Borland's C++ input parser did not pass the "" 
  155.     parameter to me, so GLEDIT was unaware of it's presence in the command 
  156.     line.
  157.  
  158.     To remedy this, I have written my own command line parser that gets the
  159.     raw command line from the Program Service Prefix (PSP).  I now see the
  160.     cmmand line just as you typed it.  This allows me to process the "" replace
  161.     string as a request to delete matching search strings.  This is more
  162.     in line with comman practice.
  163.  
  164.     For compatibility with previous releases, the /d switch is still recog-
  165.     nized and processed, but is no longer documented.  "" is now the accepted
  166.     method for deleting a string.
  167.  
  168. 4.  GLEDIT did not recognize the last record in a file if that record did not
  169.     not end with a carraige return and line feed (CRLF) combination.  Fixed.
  170.  
  171. NOTE- Since version 2.6 contains an entirely new command line parser routine,
  172.       please note an irregularities or errors and report them to me as soon
  173.       as possible so that they can be corrected.  I have tried to test it
  174.       very thoroughly, but something can always get by.  Thanks.
  175.  
  176. Version 2.6a:
  177.  
  178.     Modified to use pre-compiled subfunctions from a library, rather than 
  179.     included source.  This has no bearing on GLEDIT's functionality.
  180.  
  181.  
  182. Modifications to GLEDIT version 2.7
  183.  
  184. 1.  When the replace string contained the search string, GLEDIT would try
  185.     again to replace the string just inserted.
  186.  
  187. 2.  When /i was specified, GLEDIT did not allways find multiple occurances
  188.     of the search string.
  189.  
  190.  
  191. Version 2.7a 
  192.  
  193.     GLEDIT v3.7a is functionally equivalent to v3.7.  The documentation has
  194.     been updated to reflect a new address and phone for Parity Solutions.
  195.  
  196.  
  197. Version 2.8 modification:
  198.  
  199.   Prior releases required GLEDIT.SER to be on the path or the current 
  200.   directory.  Now it will be found if it is in the same directory as
  201.   GLEDIT.EXE regardless of whether or not it is on the path.  The path
  202.   and current directory are searched first.  If not found it tries the
  203.   directory from which GLEDIT.EXE was loaded.  If still not found, the
  204.   "Not registered" prompt appears.
  205.  
  206.  
  207. Version 3.0 modifications:
  208.  
  209.   1. The search string and/or the replace string can now be input from
  210.      an ASCII file.  This overcomes the length restrictions imposed by
  211.      the maximum length of the DOS command line.  Each parameter can now
  212.      be up to 512 characters.
  213.   
  214.   2. When the /N option was used, the registration prompt did not show on
  215.      the screen if output was routed to a file.  Changed to display the
  216.      registration prompt regardless of the state of the /N switch.
  217.  
  218.   3. The price for GLEDIT was increased by $5 to $21 U.S.  The previous 
  219.      price barely covered order filling and was not allowing recovery of the
  220.      development cost.  It is our goal to keep the price just as low as
  221.      possible and still permit a small profit.
  222.  
  223.   Normally a change in the version number indicates major functional en-
  224.   hancements or changes.  In this case, it was done to prevent going
  225.   to two-digit modification level numbers, not because of major differences
  226.   with version 2, even though inclusion of file referencing for input
  227.   parameters could be considered a major enhancement.
  228.  
  229.  
  230. Version 4.0 Modifications
  231.  
  232.   1.  Added the /D switch that will delete lines which contain the matching
  233.       search string.  Prompts before deleteing unless /Y specified.
  234.  
  235.   2.  Added enhanced user interface which is invoked if GLEDIT is typed
  236.       with no parameters.  The user interface includes context-sensitive
  237.       help.
  238.  
  239.   3.  Previously test mode acted as though /Y were in effect.  It now
  240.       acts like it normally would without /T, except that changes are not
  241.       actually made.  To make it act like it did previously, you must
  242.       specify both /T and  /Y.
  243.  
  244.   4.  In test mode, if the search string were found more than once on a
  245.       record, the second time it was displayed would not refelct the 
  246.       change that would have occurred in an actual run.  This has been
  247.       corrected.
  248.  
  249. Version 4.0a:
  250.  
  251.   Version 4.0 was originally distributed with the help file (GLEDIT.HLP)
  252.   missing.  GLEDIT 4.0a contains the help file, but has no changes to the
  253.   functionality.
  254.  
  255.  
  256. Version 4.1 modifications:
  257.  
  258.   1. GLEDIT creates a file to which the edited file is written, eventually
  259.      to replace the original file.  While it is being created, the work file 
  260.      is named GLEDIT.WK$.  When multiple users on a network try to run GLEDIT 
  261.      in the same directory, the fact that the GLEDIT.WK$ file already exists
  262.      prevents the second GLEDIT run from operating.  The work file is now 
  263.      created as GLEDIT.000.  If it fails to open, it will increment the
  264.      extension number until successful or 64 tries, whichever comes first.
  265.  
  266.   2. The file being edited was opened for read only while the work file was
  267.      being created.  This could lead to multiple users updating the same
  268.      file concurently.  Now GLEDIT opens the file in update mode which
  269.      will lock it to other users until GLEDIT is finished with it.  If
  270.      GLEDIT tries to scan an open or read-only file, it will display a
  271.      message that the file could not be updated.  If the files are being
  272.      searched with no replace string or delete option, the files are opened
  273.      in read-only mode so that in-use and read-only files may be scanned.
  274.  
  275.      Actually, under DOS if another program has the file open for read-only,
  276.      GLEDIT will still update the file.  This could cause some problems.
  277.      Also, some network shells such as Novell Netware will intercept any
  278.      attempt to open a file that is open (for output or update) by another
  279.      session.  NetWare will display a message that the file is in use and
  280.      your only options will be to retry the open or abort GLEDIT.
  281.  
  282.   3. In command line mode, the screen went totally blank while searching for
  283.      the first matching file.  This could be disconcerting to the user. Now
  284.      GLEDIT displays the phrase "Searching...".
  285.  
  286.   4. Test mode processing was modified to more closely resemble a "live"
  287.      run.  Only a display at the end of the file and the "Searching..."
  288.      prompt have been revised to remind the user that test mode is in use.
  289.  
  290.   5. If multiple occurrances of the target string appeared in the same
  291.      line, and the user replied "N" to the replace prompt, then replied
  292.      'Y' to a later prompt on the same line, the rejected change could
  293.      be made anyway.  All but the first prompt for the line showed the
  294.      changes as having been accepted, even though they were rejected.  This
  295.      isn't too clear, but it's hard to explain.  Anyway, it's fixed.
  296.  
  297.  
  298. Version 4.2 modifications:
  299.  
  300.    1. There have been some speed improvements and modifications to the 
  301.       program structure and error handling that will better lend itself to 
  302.       event-driven processing in anticipation of GLEDIT for Windows, which 
  303.       is under development.
  304.  
  305.    2. A feature was added that allows the S key to be pressed at a replace
  306.       or delete prompt or at the "Press any key" prompt when a page is full.
  307.       It discontinues processing on the current file (no changes made) and
  308.       skips to the next file.  You can also press the K key to skip any
  309.       further searching, but save any changes already specified for the file
  310.       being processed.  The S(kip) and K(eep) keys are equivalent in search
  311.       mode.  If K is pressed while a replace or delete prompt is displayed,
  312.       the current prompted modification is not made to the file.
  313.       
  314.    3. Added an option to search for the string, but only display the file
  315.       names and paths of the files containing the search string.  This is
  316.       the NamesOnly parameter of the GLEDIT.INI file and the /P parameter
  317.       on the command line.  It is also on the options menu when using the
  318.       user interface.
  319.  
  320.    4. Added a GLEDITFilesPath= parameter to the GLEDIT.INI file to specify
  321.       where the GLEDIT.HLP and GLEDIT.SER (registered users only) files are
  322.       located if they are not on the path or in GLEDIT.EXE's home directory.
  323.  
  324.    5. Amazingly I just now discovered that the /R switch was not documented
  325.       in GLEDIT.DOC.  It is now.
  326.  
  327.    6. The documentation incorrectly stated that you may search for line
  328.       feeds, due to the i/o mechanism that GLEDIT uses, this is not
  329.       possible.  The documentation has been corrected.
  330.  
  331.    7. Modified logic to not clear the screen when /s is used in command line
  332.       mode.  This allows GLEDIT to be used in something susch as a login
  333.       script without clearing what might have been valuable information
  334.       from the screen.  Normally this would be when the output is piped
  335.       to NUL or to a file, such as:
  336.  
  337.            GLEDIT NET.CFG ipx IPX /n /s /y >NUL
  338.  
  339.    8. When the command line was parsed, if the first parameter contained a
  340.       question mark, the help screen was displayed.  This prevented the use
  341.       of wildcards that used question marks.  Now the first parameter must
  342.       be /? before the help screen is displayed.
  343.  
  344.    9. Expanded the verbage within the documentation file regarding the rules
  345.       for using quotes as string delimiters and as part of the search or
  346.       replace string body.  The rules are different when you are in command
  347.       line mode than when you are using the interface.
  348.  
  349.   10. Considerable enhancement to speed when searching many files in edit
  350.       mode.  In most cases, the process searches many more files than it
  351.       actually modifies.  Thus I have optimized search processing at the 
  352.       expense of edit processing for a given file.  If a file is edited, it 
  353.       goes through a search pass.  Once a hit is made, a new pass begins that 
  354.       creates the modified file.  This increased the speed of a typical
  355.       automated (/y and /s) edit run by a factor of 2 to 3 times as fast.
  356.       
  357.